BI.namespace('sprite');

BI.sprite.CircleSprite = new Class({
	Extends : BI.sprite.DrawableSprite,
	initialize : function(x, y, r, config) {
		 this.parent(x, y, config);
		 this.r = r;
	},
	doDraw : function(context) {
		context.drawContext.arc(this.x, this.y, this.r, 0, Math.PI*2, true);
	}
});